<?php
namespace app\admin\controller;
use think\Controller;
use auth\Auth;
class Common extends controller{

	public function _initialize()
	{
		
		$aid = session('aid');

		$rule =  $rule = strtolower(request()->module()).'/'.strtolower(request()->controller()).'/'.strtolower(request()->action());

		$auth = new Auth();

		$res = $auth->check($aid,$rule);


		// var_dump($res);

	}

}
